<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>读者首页</title>
    <link rel="stylesheet" type="text/css" th:href="@{/assets/css/login.css}">
    <link rel="shortcut icon" th:href="@{/favicon.ico}" />
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet" />
    <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet" />
    <link th:href="@{/css/animate.css}" rel="stylesheet" />
    <link th:href="@{/css/style.css}" rel="stylesheet" />
    <link th:href="@{/css/jquery.contextMenu.min.css}" rel="stylesheet"/>
</head>
<body class="fixed-sidebar full-height-layout" style="overflow: hidden;">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i></div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <span><img alt="image" class="img-circle" th:src="@{/img/profile_small.jpg}" /></span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
									<span class="clear">
										<span class="block m-t-xs"><strong class="font-bold" th:text="${session.account.getUsername()}">读者</strong><b class="caret"></b></span>
										<span class="text-muted text-xs block">欢迎使用本系统</span>
									</span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" th:href="@{#}">修改头像</a></li>
                            <li><a class="J_menuItem" th:href="@{/user/{username}}">个人资料</a></li>
                            <li><a class="J_menuItem" th:href="@{#}">联系我们</a></li>
                            <li><a class="J_menuItem" th:href="@{#}">信箱</a></li>
                            <li class="divider"></li>
                            <li><a th:href="@{/account/logout}">安全退出</a></li>
                        </ul>
                    </div>
                    <div class="logo-element">DX</div>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">首页</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <li>
                            <a class="J_menuItem" th:href="@{/book/findPage?pageIndex=1}" data-index="0">图书查询</a>
                        </li>
                        <li>
                            <a class="J_menuItem" th:href="@{/book/findPages?pageIndex=1}" data-index="0">借阅记录</a>
                        </li>
                        <li>
                            <a class="J_menuItem" th:href="@{#}" data-index="0">我的订单</a>
                        </li>
                        <li>
                            <a class="J_menuItem" th:href="@{#}" data-index="0">我的罚款</a>
                        </li>
                    </ul>
                </li>

<!--                <li>-->
<!--                    <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label">我的信箱 </span><span class="label label-warning pull-right">16</span></a>-->
<!--                    <ul class="nav nav-second-level">-->
<!--                        <li><a class="J_menuItem" href="mailbox.html">收件箱</a></li>-->
<!--                        <li><a class="J_menuItem" href="mail_detail.html">查看邮件</a></li>-->
<!--                        <li><a class="J_menuItem" href="mail_compose.html">写信</a></li>-->
<!--                    </ul>-->
<!--                </li>-->
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class=" dashbard-1" style="background-color: #f3f3f4;">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0;">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary" href="#"><i class="fa fa-bars"></i> </a>
                    <form role="search" class="navbar-form-custom" method="post" action="search_results.html">
                        <div class="form-group">
                            <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search" />
                        </div>
                    </form>
                </div>
                </ul>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i></button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i></button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown" data-toggle="dropdown">页签操作<span class="caret"></span></button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="tabCloseCurrent"><a>关闭当前</a></li>
                    <li class="J_tabCloseOther"><a>关闭其他</a></li>
                    <li class="J_tabCloseAll"><a>全部关闭</a></li>
                </ul>
            </div>
            <a href="#" class="roll-nav roll-right tabReload"><i class="fa fa-refresh"></i> 刷新</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe th:src="@{/welcome}"  class="J_iframe" name="iframe0" width="100%" height="100%"   data-id="index_v1.html" seamless></iframe>
            <iframe  class="J_iframe" name="iframe0" width="100%" height="100%"   data-id="index_v2.html" seamless></iframe>
        </div>
        <!--右侧部分结束-->
<!--        <div>-->
<!--            <iframe th:src="@{/welcome}"  style="border-style: none"></iframe>-->
<!--        </div>-->
    </div>
</div>

<!-- 全局js -->
<script th:src="@{/js/jquery.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
<script th:src="@{/js/plugins/metisMenu/jquery.metisMenu.js}"></script>
<script th:src="@{/js/plugins/slimscroll/jquery.slimscroll.min.js}"></script>
<script th:src="@{/js/plugins/contextMenu/jquery.contextMenu.min.js}"></script>
<script th:src="@{/js/plugins/layer/layer.min.js}"></script>

<!-- 自定义js -->
<script th:src="@{/js/hplus.js}"></script>
<script type="text/javascript" th:src="@{/js/contabs.js}"></script>

<!-- 第三方插件 -->
<script th:src="@{/js/plugins/pace/pace.min.js}"></script>
</body>
</html>